<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="创建SLA">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="zh-cn_topic_0000001283134340.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="防勒索">
<meta name="DC.Publisher" content="20220629">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="ZH-CN_TOPIC_0000001283134344">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>创建SLA</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="ZH-CN_TOPIC_0000001283134344"></a><a name="ZH-CN_TOPIC_0000001283134344"></a>

<h1 class="topictitle1">创建SLA</h1>
<div id="body0000001188956464"><p id="ZH-CN_TOPIC_0000001283134344__p1232219182511">参考本节操作创建SLA，对文件系统执行创建勒索检测快照的操作。</p>
<div class="section" id="ZH-CN_TOPIC_0000001283134344__section8564386224"><h4 class="sectiontitle">注意事项</h4><ul id="ZH-CN_TOPIC_0000001283134344__ul8881201542213"><li id="ZH-CN_TOPIC_0000001283134344__li1810135564415">HyperDetect特性创建的以“pvc_”开头的文件系统不支持创建勒索检测快照。</li><li id="ZH-CN_TOPIC_0000001283134344__li122562029132317">克隆文件系统不支持创建勒索检测快照。</li><li id="ZH-CN_TOPIC_0000001283134344__li13690759202313">双活脑裂后，仲裁失败端不支持创建勒索检测快照。</li><li id="ZH-CN_TOPIC_0000001283134344__li931275954519">建议在双活的主从端创建相同的SLA，从端配置SLA后不会立即生效，将在主从切换后生效。</li></ul>
</div>
<div class="section" id="ZH-CN_TOPIC_0000001283134344__section98912026153513"><h4 class="sectiontitle">操作步骤</h4><ol id="ZH-CN_TOPIC_0000001283134344__ol0598140123514"><li id="ZH-CN_TOPIC_0000001283134344__li149381918143112"><span>选择<span class="menucascade" id="ZH-CN_TOPIC_0000001283134344__menucascade2811144417812">“<span class="uicontrol" id="ZH-CN_TOPIC_0000001283134344__uicontrol10811144411812"><span id="ZH-CN_TOPIC_0000001283134344__text18182131310312">保护</span></span> &gt; <span class="uicontrol" id="ZH-CN_TOPIC_0000001283134344__uicontrol9997148581"><span id="ZH-CN_TOPIC_0000001283134344__text96132449461">保护策略</span></span> &gt; <span class="uicontrol" id="ZH-CN_TOPIC_0000001283134344__uicontrol1741254081"><span id="ZH-CN_TOPIC_0000001283134344__text827262943120">SLA</span></span>”</span>。</span></li><li id="ZH-CN_TOPIC_0000001283134344__li85725345317"><span>单击<span class="uicontrol" id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001264095230_uicontrol12389192016473">“<span id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001264095230_text1214017349462">创建</span>”</span>。</span></li><li id="ZH-CN_TOPIC_0000001283134344__li632243103212"><span>自定义SLA的名称。</span></li><li id="ZH-CN_TOPIC_0000001283134344__li167542484582"><span>单击<span class="uicontrol" id="ZH-CN_TOPIC_0000001283134344__uicontrol18235203385915">“<span id="ZH-CN_TOPIC_0000001283134344__text03641440116">勒索检测快照备份策略</span>”</span>图标。</span></li><li id="ZH-CN_TOPIC_0000001283134344__li148724933815"><span>配置<span class="uicontrol" id="ZH-CN_TOPIC_0000001283134344__uicontrol1899025917116">“勒索检测快照备份策略”</span>基础参数。</span><p><p id="ZH-CN_TOPIC_0000001283134344__p10861142420492">支持周期性备份和指定时间备份两种方式。</p>
<p id="ZH-CN_TOPIC_0000001283134344__p18912123515014">相关参数说明如<a href="#ZH-CN_TOPIC_0000001283134344__table1591417351806">表1</a>所示。</p>
<div class="p" id="ZH-CN_TOPIC_0000001283134344__p1191213351402">请根据业务情况合理设置勒索检测快照备份频率、备份时间窗口和快照保留时长，建议如下：<ul id="ZH-CN_TOPIC_0000001283134344__ul169120351012"><li id="ZH-CN_TOPIC_0000001283134344__li2091819292110">如果系统中待保护的文件系统是远程复制的从端，应尽量将系统的备份时间窗口和远程复制的复制时间窗口错开。否则可能会造成备份任务失败。</li><li id="ZH-CN_TOPIC_0000001283134344__li11556248153216">智能勒索检测速率约5万文件/分钟，请根据文件系统文件规模评估备份频率。建议备份频率大于智能勒索检测耗时，减少检测任务堆积。</li><li id="ZH-CN_TOPIC_0000001283134344__li139122353016">首次执行备份时间建议与时间窗口的开始时间一致。</li><li id="ZH-CN_TOPIC_0000001283134344__li129129359010">副本保留时间必须大于一个备份周期的时间间隔。</li></ul>
</div>

<div class="tablenoborder"><a name="ZH-CN_TOPIC_0000001283134344__table1591417351806"></a><a name="table1591417351806"></a><table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001283134344__table1591417351806" frame="border" border="1" rules="all"><caption><b>表1 </b>勒索检测快照备份策略基础参数场景说明</caption><colgroup><col style="width:10.83%"><col style="width:13.889999999999999%"><col style="width:75.28%"></colgroup><thead align="left"><tr id="ZH-CN_TOPIC_0000001283134344__row391217351202"><th align="left" class="cellrowborder" colspan="2" valign="top" id="mcps1.3.3.2.5.2.4.2.4.1.1"><p id="ZH-CN_TOPIC_0000001283134344__p591273518016">场景</p>
</th>
<th align="left" class="cellrowborder" valign="top" id="mcps1.3.3.2.5.2.4.2.4.1.2"><p id="ZH-CN_TOPIC_0000001283134344__p2912103510019">说明</p>
</th>
</tr>
</thead>
<tbody><tr id="ZH-CN_TOPIC_0000001283134344__row19132351607"><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.3.2.5.2.4.2.4.1.1 "><p id="ZH-CN_TOPIC_0000001283134344__p81561627194619">-</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.2.4.2.4.1.2 "><div class="p" id="ZH-CN_TOPIC_0000001283134344__p157911675147">配置勒索检测快照备份的首次执行时间、备份频率、副本保留时长以及备份时间窗口。<ul id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_ul167919791414"><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li1079119781413">配置勒索检测快照备份的备份频率以及副本的保留时长。<ul id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_ul1679113751412"><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li177910751413"><span id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_text9791187121410">按年</span><p id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_p7791117131413">设置每年xx月xx日执行一次，副本保留xx天/周/月/年或永久保留。</p>
<p id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_p62586191379">如果当年不存在该日期，则不产生副本。</p>
</li><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li1279112715144"><span id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_text979110717147">按月</span><p id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_p179113721413">设置每月xx日（可选择多日）或最后一天执行一次，副本保留xx天/周/月/年或永久保留。</p>
<p id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_p125877114419">如果设置为每月xx日执行一次备份，当月不存在该日期时，则不产生副本。</p>
</li><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li879112716144"><span id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_text27913720144">按周</span><p id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_p1079111741416">设置每周一/二/三/四/五/六/日执行一次（可多选），副本保留xx天/周/月/年或永久保留。</p>
</li><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li251355615915"><span id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_text1391110711343">按天</span><p id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_p175137561491">设置从xx年xx月xx日开始，每xx天执行一次备份，副本保留xx天/周/月/年或永久保留。</p>
</li><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li17513125616918"><span id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_text11653155316339">按小时</span><p id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_p451312561795">设置从xx年xx月xx日开始，每xx小时执行一次备份，副本保留xx天/周/月/年或永久保留。</p>
</li><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li108498361016"><span id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_text4119140183416">按分钟</span><p id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_p178491339103">设置从xx年xx月xx日开始，每xx分钟执行一次备份，副本保留xx天/周/月/年或永久保留。</p>
</li></ul>
</li><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li1679107171411">设置允许执行勒索检测快照备份的时间段，该时间范围以外的时间不会进行勒索检测快照备份任务调度。<div class="note" id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_note77917711419"><span class="notetitle"> 说明： </span><div class="notebody"><ul id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_ul64461851101420"><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li037445621410">如果结束时间小于或等于开始时间，则结束时间实际为跨日的结束时间。</li><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li4446145117142">如果备份任务在指定的时间窗口内未执行完成，系统不会中止本次备份任务，但会上报事件。</li><li id="ZH-CN_TOPIC_0000001283134344__zh-cn_topic_0000001506280289_li4684315367">一旦副本超过设定的保留时长，系统将自动删除过期的副本。</li></ul>
</div></div>
</li></ul>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="ZH-CN_TOPIC_0000001283134344__li17967833631"><span>配置勒索检测快照备份策略高级参数。</span><p><div class="p" id="ZH-CN_TOPIC_0000001283134344__p1915143519019">相关参数说明如<a href="#ZH-CN_TOPIC_0000001283134344__table79151351804">表2</a>所示。
<div class="tablenoborder"><a name="ZH-CN_TOPIC_0000001283134344__table79151351804"></a><a name="table79151351804"></a><table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001283134344__table79151351804" frame="border" border="1" rules="all"><caption><b>表2 </b>勒索检测快照备份策略高级参数说明</caption><colgroup><col style="width:30.06%"><col style="width:69.94%"></colgroup><thead align="left"><tr id="ZH-CN_TOPIC_0000001283134344__row791411353020"><th align="left" class="cellrowborder" valign="top" width="30.06%" id="mcps1.3.3.2.6.2.1.2.2.3.1.1"><p id="ZH-CN_TOPIC_0000001283134344__p1291453517013">参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="69.94%" id="mcps1.3.3.2.6.2.1.2.2.3.1.2"><p id="ZH-CN_TOPIC_0000001283134344__p491413351904">说明</p>
</th>
</tr>
</thead>
<tbody><tr id="ZH-CN_TOPIC_0000001283134344__row291417351304"><td class="cellrowborder" valign="top" width="30.06%" headers="mcps1.3.3.2.6.2.1.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001283134344__p189144351802"><span id="ZH-CN_TOPIC_0000001283134344__text107931420192718">未感染快照锁定</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.94%" headers="mcps1.3.3.2.6.2.1.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001283134344__p11872124113514">指将未检测到勒索文件的快照锁定。默认关闭。开启后未感染的快照将转换为安全快照，副本过期时间会有一定延迟，在副本过期前不允许修改和删除。</p>
</td>
</tr>
<tr id="ZH-CN_TOPIC_0000001283134344__row691510358017"><td class="cellrowborder" valign="top" width="30.06%" headers="mcps1.3.3.2.6.2.1.2.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001283134344__p8915535609"><span id="ZH-CN_TOPIC_0000001283134344__text9915735708">失败后自动重试</span></p>
</td>
<td class="cellrowborder" valign="top" width="69.94%" headers="mcps1.3.3.2.6.2.1.2.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001283134344__p59151935109">默认开启。勒索检测快照备份任务失败后系统自动重试。</p>
<div class="p" id="ZH-CN_TOPIC_0000001283134344__p159158351007">支持重试次数为1~5次，等待时长为1~30分钟。如设置为重试3次，等待5分钟，即每5分钟后重试一次，总共重试3次。<div class="note" id="ZH-CN_TOPIC_0000001283134344__note1191518351206"><span class="notetitle"> 说明： </span><div class="notebody"><p id="ZH-CN_TOPIC_0000001283134344__p49151035302">自动重试时系统会创建一个新的勒索检测快照备份任务，如果该备份任务不在设定的时间窗内则不会执行，此次备份失败。</p>
</div></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</p></li><li id="ZH-CN_TOPIC_0000001283134344__li1618195321716"><span>单击<span class="uicontrol" id="ZH-CN_TOPIC_0000001283134344__uicontrol65831059121713">“<span id="ZH-CN_TOPIC_0000001283134344__text1833112168332">确定</span>”</span>，系统返回创建SLA页面。</span></li><li id="ZH-CN_TOPIC_0000001283134344__li1092814385513"><span>单击<span class="uicontrol" id="ZH-CN_TOPIC_0000001283134344__uicontrol29131271161">“<span id="ZH-CN_TOPIC_0000001283134344__text12104162233310">确定</span>”</span>，完成SLA创建。</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="zh-cn_topic_0000001283134340.html">创建勒索检测快照</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>